package com.zheng.shop.rpc.api;

import com.zheng.common.base.BaseServiceMock;
import com.zheng.shop.common.exception.ShopException;
import com.zheng.shop.dao.mapper.ShopDictMapper;
import com.zheng.shop.dao.model.ShopDict;

import java.util.List;

/**
* 降级实现ShopDictService接口
* Created by shuzheng on 2017/11/7.
*/
public class ShopDictServiceMock extends BaseServiceMock<ShopDictMapper, ShopDict> implements ShopDictService {
    @Override
    public ShopDict getDictByValue(String value, String key) {
        return null;
    }

    @Override
    public ShopDict getDictByName(String Name, String key) {
        return null;
    }

    @Override
    public String getDictName(String value, String key, String defaultValue) {
        return null;
    }

    @Override
    public List<String> getDictNames(String[] values, String key) {
        return null;
    }

    @Override
    public String getDictValue(String name, String key, String defaultName) {
        return null;
    }

    @Override
    public List<ShopDict> getDictList(String key) {
        return null;
    }

    @Override
    public int selectMaxSort() {
        return 0;
    }

    @Override
    public boolean createDict(String dicts) {
        return false;
    }

    @Override
    public boolean updateDict(List<ShopDict> dicts, String oldKey) throws ShopException {
        return false;
    }

    @Override
    public int selectDictCount(String search) {
        return 0;
    }

    @Override
    public boolean deleteBatchDict(List<Integer> ids) throws ShopException {
        return false;
    }
}
